﻿using System.Runtime.Serialization;

namespace NewsSystem.ClientModels
{
    [DataContract(Name = "VoteModel")]
    public class VoteModel
    {
        [DataMember(Name = "id")]
        public int Id { get; set; }

        [DataMember(Name = "value")]
        public int Value { get; set; }

        [DataMember(Name = "articleId")]
        public int ArticleId { get; set; }
    }
}